package com.imm.utils;

public class BaseContext {

    private static final ThreadLocal<Long> threadLocal = new ThreadLocal<>();


    public static void setCurrentId(Long id) {
        threadLocal.set(id);
    }


    public static Long get() {
        return threadLocal.get();
    }

}
